package com.gyc.game.cchess.model;

public class ChessMove {
	public byte fChessId;
	public byte tChessId;
	public byte fRowColumn;
	public byte tRowColumn;
	public int Score;

	/**
	 *是否移动棋步之后，导致我方攻击到对方的王; 将
	 */
	public boolean chk;

	public ChessMove(byte chessId_f, byte rowColumn_f, byte chessId_t,
			byte rowColumn_t) {
		super();
		this.fChessId = chessId_f;
		this.fRowColumn = rowColumn_f;
		this.tChessId = chessId_t;
		this.tRowColumn = rowColumn_t;
	}

	public ChessMove() {
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return fChessId + "," + fRowColumn + "," + tChessId + "," + tRowColumn;
	}

}
